package com.feng.boot.mybatis.mapper;

import com.feng.boot.mybatis.bean.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Lee
 */
@Mapper
public interface EmployeeMapper {

    /**
     * 更具 id 过去Employee
     * @param id
     * @return
     */
    Employee getEmployeeById(@Param("id") Integer id);

    /**
     * 插入 Employee
     * @param employee
     */
    Employee saveEmployee(Employee employee);


}
